package com.koron.order.repair.service;

import com.koron.common.core.business.common.service.CommonService;
import com.koron.order.repair.bean.dto.RepairDispatchDto;
import com.koron.order.repair.bean.vo.RepairDispatchVo;
import org.koron.ebs.mybatis.SessionFactory;

public interface RepairDispatchService extends CommonService {

    int insertOrUpdate(SessionFactory factory, RepairDispatchDto dto);

    int deleteById(SessionFactory factory, String id);

    int deleteByOrderId(SessionFactory factory, String orderId);

    RepairDispatchVo queryById(SessionFactory factory, String id);

}
